package org.vison.wonfu.framework.soa.spi;

import lombok.Data;

import java.lang.reflect.Method;
import java.util.Map;

@Data
public class SoaProviderDefinition {

    private  Class<?> serviceClass;
    private  String serviceName;
    private  String servicePath;
    private  Map<String, Method> methodMap;

    public SoaProviderDefinition(Class<?> serviceClass, String serviceName, String servicePath,
                                 Map<String, Method> methodMap) {
        this.serviceClass = serviceClass;
        this.serviceName = serviceName;
        this.servicePath = servicePath;
        this.methodMap = methodMap;
    }
}
